#include<stdio.h>
#include<string.h>
#pragma pack(1)
typedef struct 
{
	char a;
	short aa;
	short bb;
	char b;
}stTest0;
#pragma pack()

typedef struct 
{
	char a;
	short aa;
	short bb;
	char b;
}stTest1;

typedef struct 
{
	char a;
	short aa;
	stTest0 test0;
	short bb;
	char b;
}stTest2;

typedef struct 
{
	char a;
	short aa;
	stTest1 test1;
	short bb;
	char b;
}stTest3;

int main()
{
	stTest0 test0;
	stTest1 test1;
	stTest2 test2;
	stTest3 test3;
	printf("sizeof(test0) = %d\n",sizeof(test0));
	printf("sizeof(test1) = %d\n",sizeof(test1));
	printf("sizeof(test2) = %d\n",sizeof(test2));
	printf("sizeof(test3) = %d\n",sizeof(test3));
	return 0;
} 